UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

The /etc/smbpasswd file must have mode 0600 or less permissive.


Overview

Finding ID Version Rule ID IA Controls Severity
V-1059 GEN006200 SV-1059r2_rule ECLP-1 Medium
Description
If the smbpasswd file has a mode more permissive than 0600, the smbpasswd file may be maliciously accessed or modified, potentially resulting in the compromise of Samba accounts.
STIG Date
UNIX SRG 2013-03-26

Details

Check Text ( C-2053r2_chk )
Check smbpasswd mode.

Procedure:
# find / -name smbpasswd
# ls -lL

If smbpasswd has a mode more permissive than 0600, this is a finding.
Fix Text (F-1213r2_fix)
Change the mode of the smbpasswd file to 0600.

Procedure:
# chmod 0600 smbpasswd